package com.sleepsocial.api.beans;

import com.sleepsocial.persistency.entity.user.UserProfile;

public class ApiAuthenticationResponse extends ApiResponse {

    private boolean     authenticated;
    private String      userKey;
    private UserProfile profile;

    public UserProfile getProfile() {
        return profile;
    }

    /**
     * @return the userKey
     */
    public String getUserKey() {
        return userKey;
    }

    public boolean isAuthenticated() {
        return authenticated;
    }

    public void setAuthenticated(boolean authenticated) {
        this.authenticated = authenticated;
    }

    public void setProfile(UserProfile profile) {
        this.profile = profile;
    }

    /**
     * @param userKey
     *            the userKey to set
     */
    public void setUserKey(String userKey) {
        this.userKey = userKey;
    }
}
